using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Transaction
{
   
    public class DepositTransaction 
    {
        #region Properties
              // DEPOSIT_TRANSACTION_ID
        public virtual int DepositTransactionID { set; get; }
      // DEPOSIT_HEADER_ID
        public virtual int? DepositHeaderID { set; get; }
      // TRANSACTION_TYPE
        public virtual String TransactionType { set; get; }
      // REF_NO
        public virtual String RefNO { set; get; }
      // TYPEOFPAYMENT_ID
        public virtual int? TypeofpaymentID { set; get; }
      // SETTLEMENT_DATE
        public virtual DateTime? SettlementDate { set; get; }
      // TRADE_DATE
        public virtual DateTime? TradeDate { set; get; }
      // AMOUNT
        public virtual int? Amount { set; get; }
      // UNIT
        public virtual int? Unit { set; get; }
      // GUARANTEE_TYPE
        public virtual String GuaranteeType { set; get; }
      // OBLIGATION_ID
        public virtual int? ObligationID { set; get; }
      // OBLIGATION_NO_ID
        public virtual int? ObligationNOID { set; get; }
      // GUARANTEE_START_DATE
        public virtual DateTime? GuaranteeStartDate { set; get; }
      // GUARANTEE_END_DATE
        public virtual DateTime? GuaranteeEndDate { set; get; }
      // CREATE_DATE
        public virtual DateTime? CreateDate { set; get; }
      // CREATE_BY
        public virtual String CreateBY { set; get; }
      // MODIFY_DATE
        public virtual DateTime? ModifyDate { set; get; }
      // MODIFY_BY
        public virtual String ModifyBY { set; get; }

        #endregion

        

        public override bool Equals(object obj)
        {
            if(obj == null)
                return false;
            if(obj.GetType() != typeof(DepositTransaction) && !(obj is DepositTransaction))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}",DepositTransactionID);
        }

    }


}